home *** CD-ROM | disk | FTP | other *** search
- !
- ! Default Beggar script..
- !
- ! (c) DC Software, 1992
- !
- ! Pending Enhancements
- !
- ! - This script has no voices. For an example of voices, look at
- ! MERCHANT.SCR and HEALER.SCR
- !
-
- !------------------------------------------------------------------------!
- :@TALK ! Talk to the character !
- !------------------------------------------------------------------------!
-
- ! First line of the text block is the greeting..
- writeln( s1 );
-
- L1 = select( "Give Money", "Leave" );
- if L1 = 0 then
- readtext( npc.text, random(15)+2 ); ! display one line (2-16) !
- else
- writeln( "Thanks for nothing.." );
- if( group.gold > 50 ) then
- dec( group.gold, random(50) );
- else
- dec( group.gold, group.gold );
- endif;
- writeln( "(the beggar bumps into you as you walk away..)" );
- endif;
- STOP;
-